package com.chy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chy.entity.Router;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface RouterMapper extends BaseMapper<Router> {
    boolean insertRouter(@Param(value = "params") Router params);

    List<Router> getRouterList(@Param(value = "params") Map<String, Object> params);

    boolean updateRouter(@Param(value = "params") Router router);

    boolean removeRouter(@Param(value = "params") Router router);
}
